/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mavenrentcars.validator.impl;

import com.mavenrentcars.validator.Validator;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author serg
 */
public abstract class GenericValidator implements Validator {

    protected Map<String, String> errors = new HashMap<String, String>();

    @Override
    public Map<String, String> getErrors() {
        return errors;
    }

    @Override
    public abstract boolean validation();
}
